#ifndef TOOLS_H
#define TOOLS_H

#include <petscsys.h>

#define         DEBUG                   1
#define         VERBOSE                 1
#define         LOG                     1

#define         PATH_TO_DATA            "./output/"

#define         MAX_SNAPSHOTS           30

typedef                 PetscInt        integer;
typedef                 PetscReal       real;
typedef                 PetscScalar     scalar;

enum QuantityType { VELOCITY, PRESSURE };
enum DataType { X_COMP, Y_COMP, CURL, DIV, NORM };
enum PlotType { NONE, PDF, WXT };

typedef struct {
  scalar                x;
  scalar                y;
} Field;

#endif // TOOLS_H
